package com.eischet.lookup.web;

import java.util.HashSet;
import java.util.Set;

import javax.servlet.http.HttpSession;

import org.apache.lucene.search.Query;

public class UnrestrictedAccessController implements AccessController {

	@Override
	public Set<Long> getGroupsForUser(String loginName) {
	    Set<Long> admin = new HashSet<Long>();
	    admin.add(RemedyAccessController.GROUP_UNRESTRICTED);
	    return admin;
	}

	@Override
	public Query rewriteQuery(String loginName, HttpSession session, Query originalQuery) {
		return originalQuery;
	}

}
